const TODO = "bk-todolist";
export default {
  set(data) {
    localStorage.setItem(TODO, JSON.stringify(data));
  },
  get() {
    return JSON.parse(localStorage.getItem(TODO)) || [];
  },
};
